str = serialize_v2(S)
Serialize Matlab variable, without writing to disk.
matlab variable
serialized form of S. Use deserialize_v2 to convert back.